package cn.hanyx.provider.service;

import cn.hanyx.provider.bean.Depart;

import java.util.List;

/**
 * DepartService
 *
 * @author hanyx
 * @date 2019/07/10
 */
public interface DepartService {

    boolean saveDepart(Depart depart);

    boolean removeDepartById(Integer id);

    boolean modifyDepart(Depart depart);

    Depart getDepartById(Integer id);

    List<Depart> listAllDeparts();


}
